<!doctype html>
<meta charset="utf-8">
<title>Print multiple pages</title>
<style>
@media print {
  p {
    break-before: page;
  }
}
</style>
<p>Page 1
<p>Page 2
<p>Page 3
